Forum Activity for @michael

michael
@michael
11/26/18 10:21:04PM
7,816 posts

Is it feasible to build a central "Text editor settings" control module?


Suggestions

The request is "A way to remove any text formatting done in the editor"?

There's this button:
https://stackoverflow.com/questions/21159778/clear-formatting-button-in-tinymce

To set it up for the blog post editor, the file you want to adjust is jrCore 'form_editor.tpl' and where it reads:
    toolbar1: "formatselect | fontselect fontsizeselect forecolor 
change it to
    toolbar1: "removeformat | formatselect | fontselect fontsizeselect forecolor 

remove_formatting.jpg remove_formatting.jpg - 119KB
michael
@michael
11/25/18 04:13:44AM
7,816 posts

Img Tag Override to Amp-Img


Jamroom Developers

When you copy the content of the $html and put it into a variable
$html =  <<<EOF
    <p>Hello</p>
    <p>world and the rest of your html here.....</p>
EOF;
echo ampify($html);

Does it look like you want it to look?

White page will show in your error log what the error is.
michael
@michael
11/23/18 03:04:05AM
7,816 posts

Img Tag Override to Amp-Img


Jamroom Developers

Did you the first suggestion?
michael
@michael
11/22/18 01:44:57AM
7,816 posts

Subscription Features don't retain editor formatting


Design and Skin Customization

Usually the editors will listen to quota settings, if the quota is allowed html, try allowing all html.
an_idea.jpg an_idea.jpg - 362KB
michael
@michael
11/22/18 01:42:33AM
7,816 posts

Img Tag Override to Amp-Img


Jamroom Developers

I dont know if your code is right or not. what I would do is take some html code then run it through your amplify() function and see what comes out.

Do that outside of jamroom in say a file called junk.php

yoursite.com/junk.php

Once you know the function is doing what you want it to do outside of the jamroom flow then you can integrate it into your module.

(if you have xdebug integrated with a local dev server, thats really useful for stepping through whats happening in cases like this.)
michael
@michael
11/15/18 06:01:46PM
7,816 posts

JRfunClub Player on twitter


Installation and Configuration

Try using the twitter card validator on your share'd url
https://cards-dev.twitter.com/validator

--edit--
When I test with one of your url's it gives an error about X-Frame-Options:
Load denied by X-Frame-Options: https://www.voturadio.com/audio/embed/7/ochuka-theatre-of-scars?autoplay=1&auto_play=true does not permit cross-origin framing.
Content Security Policy: Ignoring ‘x-frame-options’ because of ‘frame-ancestors’ directive.

Try these docs:

Docs:
https://www.jamroom.net/the-jamroom-network/documentation/troubleshooting/4956/error-refused-to-display-in-a-frame-because-it-set-x-frame-options-to-sameorigin
updated by @michael: 11/15/18 06:11:27PM
michael
@michael
11/15/18 05:21:22PM
7,816 posts

Upload Image (Embed Local Media)


Installation and Configuration

It was working for one of the other quotas. Maybe that profile got changed to a different quota perhaps?
michael
@michael
11/15/18 01:21:49AM
7,816 posts

Upload Image (Embed Local Media)


Installation and Configuration

The reason its not working is because that UPLOAD IMAGE tab should not really be showing. The module is not enabled for your quota.

If you enable it for the SPECIAL quota that fixes it.
fix.jpg fix.jpg - 120KB
  102